#include <sys/types.h>                      
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>

int main()
{
	pid_t pid;
	int count =0;
	pid = fork();	
	if(pid ==0 )
	{
		exit(0);
		count ++;
		printf("count = %d\n",count);
	}
	else
	{
		count ++;
        printf("count = %d\n",count);
	}

	return 0;
}

